import React, { Component } from 'react';

class Test2 extends Component {
    constructor(props) {
        super(props);
        this.state = {}
    }
    componentDidMount() {
        console.log(this.props.location.data)
    }
    render() {
        const { Fdata } = this.props.location.data;
        return (
            <div>
                接收到的data: {Fdata.name} -- {Fdata.IdCard} -- {Fdata.address} -- {Fdata.type}
                -- {Fdata.userName}
            </div>
        )
    }
}

export default Test2;